
//
//  LJHAnchorListModel.m
//  HEARME
//
//  Created by 曲政永 on 16/1/23.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LJHAnchorListModel.h"
#import "LJHAnchorThreeModel.h"
@implementation LJHAnchorListModel


-(void)setList:(NSMutableArray *)list{
    if (_list != list) {
        [_list release];
        _list = [list retain];
    }
    //    _list = list;
    //    NSLog(@"%@",list);
    NSMutableArray *array = [NSMutableArray array];
    
    for (NSDictionary *dic in _list) {//遍历数组
        LJHAnchorThreeModel *authorModel = [LJHAnchorThreeModel modelWithDictionary:dic];
        [array addObject:authorModel];
        
    }
    _list = [NSMutableArray arrayWithArray:array];
    
}

//-(void)setValue:(id)value forUndefinedKey:(NSString *)key
//{
//    if ([key isEqualToString:@"id"]) {
//        [self setValue:value forKey:self.anId];
//    }
//}
@end
